package org.cn.leroy.service.serviceImpl;

import org.cn.leroy.dao.MenuDao;
import org.cn.leroy.entity.Menu;
import org.cn.leroy.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Leroy on 2016/11/27.
 */
@Service
public class MenuServiceImpl implements MenuService {

    @Autowired
    MenuDao dao;
    public List<Menu> getMenuInf() {
        List<Menu> result = dao.getMenuInf();
        return result;
    }
}
